<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>{block name="title"}布网云Sass{/block}</title>
    <link rel="stylesheet" href="__MODULE__/lib/layui-v2.5.5/css/layui.css" media="all">
    <link rel="stylesheet" href="__MODULE__/lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
    <link rel="stylesheet" href="__MODULE__/css/public.css" media="all">

    <script src="__MODULE__/lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
    <script src="__MODULE__/js/lay-config.js" charset="utf-8"></script>
    {include file="../view/public/common_js.html" /}
    <script type="text/javascript" charset="utf-8" src="__MODULE__/lib/ueditor/ueditor.config.js?v=1"></script>
    <script type="text/javascript" charset="utf-8" src="__MODULE__/lib/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="__MODULE__/js/common.js"></script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <!--    <script type="text/javascript" charset="utf-8" src="__MODULE__/lib/ueditor/lang/zh-cn/zh-cn.js"></script>-->
    <style>
        body {
            background-color: #F2F2F2;
        }
        .bw-container {
            min-height: 250px;
            padding: 15px;
            margin-right: auto;
            margin-left: auto;
            padding-left: 15px;
            padding-right: 15px;
        }
        .bw-main {
            position: relative;
            padding: 15px 15px;
            background-color: #ffffff;
            border: 1px solid #f2f2f2;
            border-radius: 5px;
        }
        .bw-container .layui-table-tool {
            background-color: #ffffff;
            border-bottom: none !important;
            padding-bottom: 15px !important;
        }
    </style>
    {block name="css"}{/block}
    <script>
        //删除
        function del(ids) {
            layer.confirm('确认删除?', function (index) {
                //ajax调用后台接口
                bwajax.post("{:Url('del')}?ids=" + ids)
                    .then(function (response) {
                        if (response.data.data.errcode === 0) {
                            layer.msg('删除成功', {icon: 1});
                            reload();
                        } else {
                            layer.msg(response.data.msg, {icon: 2});
                        }
                    });
                layer.close(index);
            });
        }
    </script>
</head>
<body>
{block name="body"}{/block}
<script>
    layui.use('element', function(){
        var element = layui.element;
    });

</script>
{block name="js"}{/block}
</body>
</html>